package borge.web.teamspirit.client.page.team.panels;

import borge.web.teamspirit.client.interfaces.PanelHandler;
import borge.web.teamspirit.client.servercomm.ServerComm;

import com.google.gwt.user.client.ui.VerticalPanel;

abstract class MiddlePanel extends VerticalPanel{

	//protected ServerComm iServerComm;
	protected PanelHandler iPanelHandler;
	
	//private HashMap<>
	
	public MiddlePanel(){
		
		// Set common style
		addStyleName("MiddlePanel");
		
	}
	
	public MiddlePanel(/*ServerComm serverComm,*/ PanelHandler panelHandler){
		this();
		//iServerComm = serverComm;
		iPanelHandler = panelHandler;
	}
	
	public abstract void forwardToken(String aWidget, String aData);
}
